
/**
 * pinia持久化参数配置
 * @param {*} key 
 * @returns 
 */
export const piniaPersistConfig = (key) => {
    const persist = {
        key, 
        storage: window.localStorage
    };
    return persist;
};